package de.gdgkarlsruhe.programminfo;

import android.app.ListFragment;
import android.util.Log;

/**
 * 
 * @author GDG Karlsruhe
 */
public class TrackFragmentJsonData extends ListFragment {

	private static final String TAG = "TrackFragmentJsonData";

	private int tabNo;

	public void init(int tab) {
		this.tabNo = tab;
	}

	@Override
	public void onResume() {
		super.onResume();
		Log.d(TAG, "Lade Daten für Tab " + (tabNo + 1));
		
		new AsyncProgramminfoTask(new ProgramminfoRequest(tabNo + 1), this).execute();
	}

}
